import { createRouter, createWebHistory } from "vue-router";
import Home from "../views/Home.vue";
import FoodDetail from "../views/FoodDetail.vue";
import Contact from "../views/Contact.vue"
const routes = [
    { path: "/", name: 'Home', component: Home },
    { path: "/food", name: 'FoodDetail', component: FoodDetail },
    { path: "/contact", name: 'Contact', component: Contact }
]


const router = createRouter({
    history: createWebHistory(),
    routes
})


export default router;